﻿@page "/"
@namespace BlazorServer.Blazor.Pages
@using System.Globalization
@using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Themes
@using Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme.Bundling
@using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Themes.AntDesignTheme
@using Volo.Abp.Localization
@{
    Layout = null;
    var rtl = CultureHelper.IsRtl ? "rtl" : string.Empty;
}

<!DOCTYPE html>
<html lang="@CultureInfo.CurrentCulture.Name" dir="@rtl">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>成本管理系统</title>
    <base href="~/" />
    
    <abp-style-bundle name="@BlazorAntDesignThemeBundles.Styles.Global" />
    <HeadOutlet />
</head>
<body class="abp-application-layout bg-light @rtl">

    <component type="typeof(App)" render-mode="Server" />

    <div id="blazor-error-ui">
        <environment include="Staging,Production">
            An error has occurred. This application may no longer respond until reloaded.
        </environment>
        <environment include="Development">
            An unhandled exception has occurred. See browser dev tools for details.
        </environment>
        <a href="" class="reload">Reload</a>
        <a class="dismiss">🗙</a>
    </div>

    <abp-script-bundle name="@BlazorAntDesignThemeBundles.Scripts.Global" />
</body>
</html>
